<template>
  <div class="s">
    <h3>我是子组件</h3>
  </div>
  <!-- <input type="text" class="s"> -->
</template>

<script>
export default {
  // 接收父组件传入的数据
  props: ['msg'],
  // 关闭特性继承
  inheritAttrs: false
}
</script>

<style></style>
